package com.design.pattern.visitor.spy;

public class Client {
    public static void main(String[] args) {
        Information s=new SingleInformation();
        Information d=new DoubleInformation();
        InformationReader ds=new DoubleSpy();
        InformationReader ss=new SingleSpy();
        s.accept(ds);
        s.accept(ss);
        d.accept(ds);
        d.accept(ss);

    }
}
